import { initMixin } from "./init";
import { initLifeCycle } from "./lifecycle";
import { nextTick } from "./observe/watcher";

function Vue(option) {
  this._init(option);
}

Vue.prototype.$nextTick = nextTick;

initMixin(Vue); // 拓展了init方法
initLifeCycle(Vue);

export default Vue;
